export const tableConfig = {
  propList: [
    {
      prop: 'name',
      label: '菜单名',
      width: '200px'
    },
    {
      prop: 'type',
      label: '菜单类型',
      width: '100px'
    },
    {
      prop: 'url',
      label: '菜单路径',
      width: '200px'
    },
    {
      prop: 'createAt',
      label: '创建时间',
      width: '200px',
      slotName: 'createAt'
    },
    {
      prop: 'updateAt',
      label: '更新时间',
      width: '200px',
      slotName: 'updateAt'
    },
    {
      label: '操作',
      slotName: 'operation'
    }
  ],
  isShowIndex: false,
  isShowSelection: false,
  isShowFooter: false,
  listName: '菜单列表',
  childrenProps: {
    rowKey: 'id',
    treeProp: {
      children: 'children'
    }
  }
}